package com.example.tagsdemo.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

import java.util.List;
import java.util.Optional;

public abstract class BaseServiceImpl<T> implements BaseService<T> {

    @Override
    public List<T> findAll() {
        return null;
    }

    @Override
    public List<T> findAll(Sort var1) {
        return null;
    }

    @Override
    public Page<T> findAll(Pageable var1) {
        return null;
    }

    @Override
    public Optional<T> findById(Object id) {
        return Optional.empty();
    }

    @Override
    public int insert(T record) {
        return 0;
    }

    @Override
    public int delete(T record) {
        return 0;
    }

    @Override
    public int deleteById(Object id) {
        return 0;
    }

    @Override
    public int updateById(T record) {
        return 0;
    }
}
